package org.jeecg.modules.scene.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.jeecg.modules.scene.entity.SceneScheme;

/**
 * @program: forallcn-iotps
 * @description: 大屏方案列表
 * @author: zhouwr
 * @create: 2020-11-12 15:42
 * @version：1.0
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SchemeVo {
    String id;
    String name;
    Long deviceCountAll;
    Long deviceCountOnline;

    public SchemeVo(SceneScheme scheme) {
        this.id = scheme.getId();
        this.name = scheme.getName();
    }
}
